04 Teach : Team Activity 1ΒΆ

ObjectivesΒΆ

  • Using numpy to merge images

InstructionsΒΆ

  • Copy the file teach1.py from week04 in Github.
  • Download the images:
    • team1-image1.jpg
    • team1-image2.jpg
    • byuisign.jpg
    • greenscreen.jpg
  • Refer to the Python code for the team activity for directions

BlendΒΆ

You will be blending two images. You are Not allowed to use any blend functions in OpenCV.

Image 1 to blend

Image 2 to blend

Final results

Other resulting image

Green ScreenΒΆ

You will creating a green screen image. You are Not allowed to use any masking or bitwise functions in OpenCV.

Note: these two images the background and greenscreen are not the same size. Also, the background image is very lerge so you might need to resize it to view the final results.

Background Image

Green Screen Image

Focus on the minonΒΆ

Using cropping, create a smaller version of the greenscreen image.

What is a "green" pixel in the greenscreen imageΒΆ

Use this to help you in copy non-green pixels to the background image. For each pixel, you might need to use the red, green, blue values one pixel at a time. You can copy more than one minon to the background.

SubmissionΒΆ

There are nothing to submit.